﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Yule8xWechat.Applib
{
    public class AppConf
    {
        public static string DownloadUrl = "DownloadApk.html";

        /// <summary>
        /// 推广一个玩家赠卡数量
        /// </summary>
        public static int ReferralUserEachCardCount= 2;

        /// <summary>
        /// 推广玩家每日最大赠卡数量
        /// </summary>
        public static int ReferralUserDailyMaxCardCount = 99;

        /// <summary>
        /// 一张卡多少钱
        /// </summary>
        public static int CardPrice = 3;

        /// <summary>
        /// 注册代理购卡数量
        /// </summary>
        public static int AgentRegistCardCount = 100;

        /// <summary>
        /// 注册代理购卡金额
        /// </summary>
        public static int AgentRegistCardAmount = 300;

        /// <summary>
        /// 注册代理返利给用户多少钱
        /// </summary>
        public static int AgentRegistReturnAmount = 75;

        /// <summary>
        /// 给上级代理的返佣提成
        /// </summary>
        public static decimal Parent1AgentCommissionRate = 0.25m;

        /// <summary>
        /// 给上上级代理的返佣提成
        /// </summary>
        public static decimal Parent2AgentCommissionRate = 0.15m;

        /// <summary>
        /// 每日免费领卡数量
        /// </summary>
        public static int DailyCardCount = 3;

        /// <summary>
        /// 优惠折扣 6=6折
        /// </summary>
        public static int CardDiscount = 6;

        /// <summary>
        /// 短信验证码倒计时
        /// <para>单位是秒</para>
        /// </summary>
        public static readonly int SMSCodeTimedown = 60;

        /// <summary>
        /// 短信过期时间
        /// <para>单位是秒</para>
        /// </summary>
        public static readonly int SMSExpireTime = 600;

        /// <summary>
        /// 默认顶级代理商编号(100万)
        /// </summary>
        public static int DefaultTopAgentID = 1018888;
        
        /// <summary>
        /// 钻石兑换泊众房卡的比例
        /// </summary>
        public static int GameCurrencyRate_Bozhong = 1;

        /// <summary>
        /// 钻石兑换网狐游戏豆的比例
        /// </summary>
        public static int GameCurrencyRate_Wanghu = 3;

    }
}